StandardVersionsRepo

class StandardVersionsRepo<T>(proxy: StandardVersionsRepoProxy<T>) : VersionsRepo<T>

Functions

setTableVersion
Link copied to clipboard
open suspend override fun setTableVersion(tableName: String, version: Int, onCreate: suspend T.() -> Unit, onUpdate: suspend T.(from: Int, to: Int) -> Unit)

By default, instance of this interface will check that version of table with name tableName is less than version or is absent